from django.db import models

# Create your models here.
class Info(models.Model):
    index = models.IntegerField(default=0)
    name = models.CharField(max_length=10)
    address = models.TextField()
    phone = models.CharField(max_length=20)
    datetime = models.DateField(auto_now_add=True)
    class Meta:
        ordering = ['-datetime']